﻿@model ProductDetailsModel
@if (Model.ProductBundleModels.Any())
{
    <div class="product-bundle my-3">
            @foreach (var item in Model.ProductBundleModels)
            {
                <div class="card mb-0">
                    <div class="card-block">
                        <div class="row">
                            <div class="col-md-3 col-4 d-flex justify-content-center align-items-start pr-0">
                                <div class="img-fluid text-center">
                                    <img class="img-fluid" alt="@item.DefaultPictureModel.AlternateText" src="@item.DefaultPictureModel.ImageUrl" title="@item.DefaultPictureModel.Title"/>
                                </div>
                            </div>
                            <div class="col-md-9 col-8">
                                <h6 class="card-title">@item.Quantity x <a href="@Url.RouteUrl("Product", new { SeName = item.SeName })"> @item.Name </a>(@item.Price)</h6>
                                <p class="card-text small">@Html.Raw(item.ShortDescription)</p>
                            </div>
                        </div>
                    </div>
                </div>
            }

    </div>

}
